/*
 * 版权所有 (c) 2022-2099 TBIT。保留所有权利。
 */

/*
 * 版权所有 (c) 2022-2099 TBIT。保留所有权利。
 */

package com.tbit.uqbike.client.service.impl;


import com.tbit.uqbike.client.dao.core.AdaccountPopUpDao;
import com.tbit.uqbike.client.pojo.AdaccountPopUp;
import com.tbit.uqbike.client.service.AdaccountPopUpService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 弹框广告
 *
 * @author yao
 * @since 2024-03-28
 */
@Service
@AllArgsConstructor
public class AdaccountPopUpServiceImpl implements AdaccountPopUpService {

    private final AdaccountPopUpDao adaccountPopUpDao;



    @Override
    public AdaccountPopUp getById(Long id) {
        return adaccountPopUpDao.selectById(id);
    }

    @Override
    public List<AdaccountPopUp> getByAccountId(Integer accountId) {
        return adaccountPopUpDao.getByAccountId(accountId);
    }


}